<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>CruiseControl.NET : MKS Source Integrity Source Control Block</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            CruiseControl.NET : MKS Source Integrity Source Control Block
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Sep 11, 2008 by <font color="#0050B2">williams</font>.
				    </div>

				    <h3><a name="MKSSourceIntegritySourceControlBlock-MKSSourceIntegrityExample"></a>MKS Source Integrity Example</h3>

<p>For MKS Source Integrity you must specify the executable, user, password, hostname, sandboxroot and sandboxfile. You may also specify the port.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;sourceControl type=<span class="code-quote">""mks"</span>"&gt;</span>
	<span class="code-tag">&lt;executable&gt;</span>C:\MKS\bin\si.exe<span class="code-tag">&lt;/executable&gt;</span>
	<span class="code-tag">&lt;user&gt;</span>CCNetUser<span class="code-tag">&lt;/user&gt;</span>
	<span class="code-tag">&lt;password&gt;</span>CCNetPassword<span class="code-tag">&lt;/password&gt;</span>
	<span class="code-tag">&lt;hostname&gt;</span>hostname<span class="code-tag">&lt;/hostname&gt;</span>
	<span class="code-tag">&lt;port&gt;</span>8722<span class="code-tag">&lt;/port&gt;</span>
	<span class="code-tag">&lt;sandboxroot&gt;</span>C:\MyProject<span class="code-tag">&lt;/sandboxroot&gt;</span>
	<span class="code-tag">&lt;sandboxfile&gt;</span>myproject.pj<span class="code-tag">&lt;/sandboxfile&gt;</span>
	<span class="code-tag">&lt;autoGetSource&gt;</span>true<span class="code-tag">&lt;/autoGetSource&gt;</span>
	<span class="code-tag">&lt;timeout units=<span class="code-quote">"minutes"</span>&gt;</span>10<span class="code-tag">&lt;/timeout&gt;</span>
<span class="code-tag">&lt;/sourceControl&gt;</span></pre>
</div></div>

<h3><a name="MKSSourceIntegritySourceControlBlock-ConfigurationElements%3A"></a>Configuration Elements:</h3>

<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Node </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Type </th>
<th class='confluenceTh'> Default </th>
<th class='confluenceTh'> Required </th>
</tr>
<tr>
<td class='confluenceTd'> executable </td>
<td class='confluenceTd'> The local path for the MKS source integrity command-line client (eg. c:\Mks\bin\si.exe) </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> "si.exe" </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> username </td>
<td class='confluenceTd'> MKS Source Integrity user ID that CCNet should use </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> password </td>
<td class='confluenceTd'> Password for the MKS Source Integrity user ID </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> hostname </td>
<td class='confluenceTd'> The IP address or machine name of the MKS Source Integrity server. </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> port </td>
<td class='confluenceTd'> The port on the MKS Source Integrity server to connect to. </td>
<td class='confluenceTd'> integer </td>
<td class='confluenceTd'> 8722 </td>
<td class='confluenceTd'> false </td>
</tr>
<tr>
<td class='confluenceTd'> sandboxroot </td>
<td class='confluenceTd'> The local path MKS Source Integrity sandbox root corresponds to </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> sandboxfile </td>
<td class='confluenceTd'> The project file </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> true </td>
</tr>
<tr>
<td class='confluenceTd'> autoGetSource </td>
<td class='confluenceTd'> Instruct CCNet whether or not you want it to automatically retrieve the latest source from the repository. </td>
<td class='confluenceTd'> bool </td>
<td class='confluenceTd'> true </td>
<td class='confluenceTd'> false </td>
</tr>
<tr>
<td class='confluenceTd'> timeout </td>
<td class='confluenceTd'> Sets the timeout period for the source control operation. See <a href="Timeout Configuration.html" title="Timeout Configuration">Timeout Configuration</a> for details. </td>
<td class='confluenceTd'> Timeout </td>
<td class='confluenceTd'> 10 minutes </td>
<td class='confluenceTd'> false </td>
</tr>
<tr>
<td class='confluenceTd'> issueUrlBuilder </td>
<td class='confluenceTd'> Converts the comment (or parts from it) into an url pointing to the issue for this build. <br clear="all" />
See <a href="IssueUrlBuilder.html" title="IssueUrlBuilder">Issue Builder</a> for more details <br clear="all" /> </td>
<td class='confluenceTd'> Group </td>
<td class='confluenceTd'> N/A </td>
<td class='confluenceTd'> false <br clear="all" /> </td>
</tr>
</tbody></table>

<p>This addresses JIRA Issue # 222.</p>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="http://confluence.public.thoughtworks.org//images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Sep 29, 2009 20:59</font></td>
		    </tr>
	    </table>
    </body>
</html>